package com.lavida.project.system.performance.domain;

import java.io.Serializable;
import java.security.KeyStore.PrivateKeyEntry;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lavida.framework.web.domain.BaseEntity;
import com.lavida.project.system.review.domain.Review;
/**
 * 	绩效
 * @author abh67
 *
 */
public class Performance extends BaseEntity implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;					//id
	private int job_id;					//工号
	private String company;				//公司
	private String fcompany;			//分公司
	private String dept;				//部门
	private String cgroup;				//组
	private String name;				//姓名
	private Double performancee;		//绩效
	private int year;				//年份
	private int month;				//月份
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date dates;					//日期
	public Performance() {
		// TODO Auto-generated constructor stub
	}
	public Performance(long id,String company,String fcompany, String dept, String cgroup, int job_id, String name,
			Double performancee,int year,int month, Date dates) {
		super();
		this.id = id;
		this.company = company;
		this.fcompany = fcompany;
		this.dept = dept;
		this.cgroup = cgroup;
		this.job_id = job_id;
		this.name = name;
		this.performancee = performancee;
		this.year = year;
		this.month = month;
		this.dates = dates;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getFcompany() {
		return fcompany;
	}
	public void setFcompany(String fcompany) {
		this.fcompany = fcompany;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getCgroup() {
		return cgroup;
	}
	public void setCgroup(String cgroup) {
		this.cgroup = cgroup;
	}
	public int getJob_id() {
		return job_id;
	}
	public void setJob_id(int job_id) {
		this.job_id = job_id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getPerformancee() {
		return performancee;
	}
	public void setPerformancee(Double performancee) {
		this.performancee = performancee;
	}
	
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public int getMonth() {
		return month;
	}
	public void setMonth(int month) {
		this.month = month;
	}
	public Date getDates() {
		return dates;
	}
	public void setDates(Date dates) {
		this.dates = dates;
	}
	@Override
	public String toString() {
		return "Performance [id=" + id + ", company=" + company + ", fcompany=" + fcompany + ", dept=" + dept
				+ ", cgroup=" + cgroup + ", job_id=" + job_id + ", name=" + name + ", performancee=" + performancee
				+ ", year=" + year + ", month=" + month + ", dates=" + dates + "]";
	}
	
	
}
